package com.ruoyi.teacher.service;

import java.util.List;
import java.util.Map;

import com.ruoyi.common.dingtalk.pojo.dto.GroupDto;
import com.ruoyi.teacher.domain.TeacherWorkSchedule;
import com.taobao.api.ApiException;

/**
 * 老师排班Service接口
 * 
 * @author clid
 * @date 2024-03-25
 */
public interface ITeacherWorkScheduleService 
{
    /**
     * 查询老师排班
     * 
     * @param id 老师排班主键
     * @return 老师排班
     */
    public TeacherWorkSchedule selectTeacherWorkScheduleById(Long id);

    /**
     * 查询老师排班列表
     * 
     * @param teacherWorkSchedule 老师排班
     * @return 老师排班集合
     */
    public List<TeacherWorkSchedule> selectTeacherWorkScheduleList(TeacherWorkSchedule teacherWorkSchedule);

    /**
     * 新增老师排班
     * 
     * @param teacherWorkSchedule 老师排班
     * @return 结果
     */
    public int insertTeacherWorkSchedule(TeacherWorkSchedule teacherWorkSchedule) throws ApiException;

    /**
     * 修改老师排班
     * 
     * @param teacherWorkSchedule 老师排班
     * @return 结果
     */
    public int updateTeacherWorkSchedule(TeacherWorkSchedule teacherWorkSchedule);


    /**
     * 删除老师排班信息
     * 
     * @param id 老师排班主键
     * @return 结果
     */
    public int deleteTeacherWorkScheduleById(Long id);

    List<GroupDto> loadAttendanceSchedule() throws ApiException;

    void attendanceSynchronization() throws ApiException;

    void punchReminder() throws ApiException;

    void batchScheduling( Map<String,String> map) throws ApiException;
}
